#pragma once

#include <QMainWindow>
#include "ui_video_detect.h"

#include <qmediaplayer.h>
#include <qvideowidget.h>

class video_detect : public QMainWindow
{
	Q_OBJECT

public:
	video_detect(QWidget *parent = nullptr);
	~video_detect();

	void play_video(QString video_name);

private:
	Ui::video_detectClass ui;
	QMediaPlayer* player = nullptr;
	QVideoWidget* video_widget = nullptr;
};
